package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(
        name = "ApplyLog",
        title = "活动申请记录表",
        description = ""
)
@TableName(value = "activity_apply_log")
public class ApplyLog {

    @Schema(title = "活动申请记录id", description = "")
    @TableId(value = "apply_log_id")
    private Long id;

    @Schema(title = "用户id", description = "")
    @TableField(value = "user_id")
    private Long userId;

    @Schema(title = "所选床位id", description = "")
    @TableField(value = "bunk_power_id")
    private Long bunkPowerId;

    @Schema(title = "记录原因", description = "")
    @TableField(value = "dictionary_apply_log_reason")
    private Long dictionaryApplyLogReason;

    @Schema(title = "审批意见", description = "")
    @TableField(value = "dictionary_apply_log_result")
    private Long dictionaryApplyLogResult;

    @Schema(title = "审批时间", description = "")
    @TableField(value = "apply_result_time")
    private Date applyResultTime;

    @Schema(title = "申请时间", description = "")
    @TableField(value = "apply_log_time")
    private Date time;
}
